home *** CD-ROM | disk | FTP | other *** search
/ Workbench Design / WB Collection.iso / datatypes / clidt / source / rcs / classbase.h,v < prev    next >
Text File  |  1996-04-07  |  3KB  |  120 lines

  1. head    39.2;
  2. access;
  3. symbols
  4.     V39_2:39.2
  5.     V39_1:39.1;
  6. locks; strict;
  7. comment    @ * @;
  8.  
  9.  
  10. 39.2
  11. date    95.11.13.23.45.50;    author StRuppert;    state Exp;
  12. branches;
  13. next    39.1;
  14.  
  15. 39.1
  16. date    95.08.07.23.46.06;    author StRuppert;    state Exp;
  17. branches;
  18. next    ;
  19.  
  20.  
  21. desc
  22. @initial
  23. @
  24.  
  25.  
  26. 39.2
  27. log
  28. @*** empty log    message    ***
  29. @
  30. text
  31. @/*
  32. ** $PROJECT: catalog.datatype
  33. **
  34. ** $VER: classbase.h 39.2 (10.08.95)
  35. **
  36. ** by
  37. **
  38. ** Stefan Ruppert , Windthorststraße 5 , 65439 Flörsheim , GERMANY
  39. **
  40. ** (C) Copyright 1995
  41. ** All Rights Reserved !
  42. **
  43. ** $HISTORY:
  44. **
  45. ** 10.08.95 : 039.002 : now base is datatypesclass
  46. ** 06.08.95 : 039.001 : initial
  47. **
  48. */
  49.  
  50. /* ------------------------- include system stuff ------------------------- */
  51.  
  52. #include "system.h"
  53.  
  54. /* --------------------------- include my stuff --------------------------- */
  55.  
  56. #include "/misc/register.h"
  57. #include "/misc/debug.h"
  58.  
  59. #include "protos.h"
  60.  
  61. /* -------------- set some stuff for the generic classbase.c -------------- */
  62.  
  63. /* set the function name to get a pointer to our class */
  64. #define ENGINE                   ObtainCliEngine
  65.  
  66. #define DATATYPENAME             "cli.datatype"
  67. #define SUPERCLASSNAME           "datatypesclass"
  68.  
  69. /* ------------------------- ClassBase structure -------------------------- */
  70.  
  71. struct ClassBase
  72. {
  73.      struct Library               cb_Lib;
  74.      UWORD                        cb_UniqueCnt;          /* Counter for unique filenames */
  75.      struct Library              *cb_SysBase;
  76.      struct Library              *cb_DOSBase;
  77.      struct Library              *cb_IntuitionBase;
  78.      struct Library              *cb_UtilityBase;
  79.      struct Library              *cb_DataTypesBase;
  80.      BPTR                         cb_SegList;
  81.  
  82.      struct SignalSemaphore       cb_Lock;               /* Access lock */
  83.      Class                       *cb_Class;
  84. };
  85.  
  86. /* ---------------------------- library bases ----------------------------- */
  87.  
  88. #define SysBase                 cb->cb_SysBase
  89. #define DOSBase                 cb->cb_DOSBase
  90. #define UtilityBase             cb->cb_UtilityBase
  91. #define IntuitionBase           cb->cb_IntuitionBase
  92. #define DataTypesBase           cb->cb_DataTypesBase
  93.  
  94. @
  95.  
  96.  
  97. 39.1
  98. log
  99. @*** empty log    message    ***
  100. @
  101. text
  102. @d4 1
  103. a4 1
  104. ** $VER: classbase.h 39.1 (06.08.95)
  105. d15 1
  106. a32 3
  107. /* set , which datatype library should be opened during our OpenLibrary() */
  108. #define SUPERCLASSDATATYPE       "datatypes/ascii.datatype"
  109.  
  110. d37 1
  111. a37 1
  112. #define SUPERCLASSNAME           "ascii.datatype"
  113. d49 1
  114. a49 1
  115.      struct Library              *cb_SuperClassBase;
  116. d62 1
  117. a62 1
  118. #define SuperClassBase          cb->cb_SuperClassBase
  119. @
  120.